
package com.feib.soeasy.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.feib.soeasy.model.Group;
import com.feib.soeasy.pagination.PaginatedList;


/**
 * @title (#)Soez5001Service.java<br>
 * @description 異常繳款明細表邏輯介面<br>
 * @author Jeff Gu<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/3/7 create by  Jeff Gu<br>
 */

@Transactional(readOnly = true)
public interface Soez5001Service {


    //查詢異常繳款明細表

    public PaginatedList<Map<String, Object>> queryByGroup(Group group, PaginatedList<Map<String, Object>> paginationConfig);

    /**
     * //查詢異常繳款明細表   以便單筆 處理核銷 與已處理  
     * @param groupNo
     * @param 
     * @return
     */
    public List<Map<String, Object>> queryByUID(String groupNo, String UID);


    /**
     * @deprecated
     * @param caseSwitch
     * @param UID
     * @return
     */
    public int  FbCodeResult(Integer  caseSwitch ,String UID );

    /**
     * @param feedbackUid
     * @param group
     * @return
     */
    public Map<String, Object> queryFeedbackLogByPk(Long feedbackUid, Group group);

    /**
     * @param feedbackUid
     * @param paymentPk
     * @param reason
     */
    @Transactional(readOnly = false)
    public void doWriteOffPayment(Long feedbackUid, Long paymentPk, String reason) throws Exception;

    /**
     * @param feedbackUid
     * @param reason
     */
    @Transactional(readOnly = false)
    public void doSkipFeedbackLog(Long feedbackUid, String reason); 









}
